<?php if(!empty($user)){
    echo form_open(base_url().'progress/progress_con/personal_bio_edit_process/'.$user['ID']);
    ?>
<div class="sebelumjud">
    <div class="jodol"><?php echo $user['NAMA']?> —EDIT BIODATA	<br/>
    <span class="role">Koordinator Marketing ComLabs IT Course</div>
    <div id="panah">
        <a href="#" class="pre"><input name="" type="submit" class="send" value="Save" /></a>
    </div>
</div>

<div class="clear"></div>
<div id="jumat">
    <div id="pic">
        <img src="<?php if($this->session->userdata('temp_foto')!='') echo $this->session->userdata('temp_foto'); else echo $user['FOTO']?>" />
        <div class="peter"><a href="<?php echo base_url().'progress/progress_con/change_pic_form/'?>">Change Picture</a></div>
    </div>
    <div id="samping">
        <table border="0" cellpadding="0" cellspacing="0" class="tabio">
            <tr>
            <td>Nama Lengkap</td>
            </tr>
            <tr>
            <td><input name="nama" type="text" class="say saybio" id="textfield" value="<?php echo $user['NAMA']?>"/></td>
            </tr>
            <tr>
            <td>Tempat Lahir</td>
            </tr>
            <tr>
            <td><input type="text" class="say saybiokecil" name="tempat" id="textfield2" value="<?php echo $user['TEMPAT_LAHIR']?>"/></td>
            </tr>
            <tr>
            <td>Tanggal Lahir</td>
            </tr>
            <tr>
            <td>
            <select class="say saylect" name="tanggal">
                <?php for($i=1;$i<32;$i++){?>
                <option <?php if($tanggal==$i) echo 'selected="true"'?> value="<?php echo $i?>"><?php echo $i?></option>
                <?php } ?>
            </select>
            <select class="say saylect" name="bulan">
                <option value="1" <?php if($bulan==1) echo 'selected="true"'?>>Januari</option>
                <option value="2" <?php if($bulan==2) echo 'selected="true"'?>>Februari</option>
                <option value="3" <?php if($bulan==3) echo 'selected="true"'?>>Maret</option>
                <option value="4" <?php if($bulan==4) echo 'selected="true"'?>>April</option>
                <option value="5" <?php if($bulan==5) echo 'selected="true"'?>>Mei</option>
                <option value="6" <?php if($bulan==6) echo 'selected="true"'?>>Juni</option>
                <option value="7" <?php if($bulan==7) echo 'selected="true"'?>>Juli</option>
                <option value="8" <?php if($bulan==8) echo 'selected="true"'?>>Agustus</option>
                <option value="9" <?php if($bulan==9) echo 'selected="true"'?>>September</option>
                <option value="10" <?php if($bulan==10) echo 'selected="true"'?>>Oktober</option>
                <option value="11" <?php if($bulan==11) echo 'selected="true"'?>>November</option>
                <option value="12" <?php if($bulan==12) echo 'selected="true"'?>>Desember</option>
            </select>
            <select class="say saylect" name="tahun">
                <?php for($i=1970;$i<1992;$i++){?>
                <option <?php if($tahun==$i) echo 'selected="true"'?> value="<?php echo $i?>"><?php echo $i?></option>
                <?php } ?>
            </select></td>
            </tr>
            <tr>
            <td>No Telepon</td>
            </tr>
            <tr>
            <td><input type="text" class="say saybiokecil" name="telp" id="textfield4" value="<?php echo $user['NO_TELP']?>"/></td>
            </tr>
            <tr>
            <td>Alamat Tinggal</td>
            </tr>
            <tr>
            <td><textarea name="alamat" class="say sayu2" id="textarea" cols="45" rows="5"><?php echo $user['ALAMAT']?></textarea></td>
            </tr>
            <tr>
            <td>Email</td>
            </tr>
            <tr>
            <td><input type="text" class="say saybio" name="email" id="textfield5" value="<?php echo $user['EMAIL']?>"/></td>
            </tr>
            <tr>
            <td>No Rekening</td>
            </tr>
            <tr>
            <td><input type="text" class="say saybio" name="rekening" id="textfield6" value="<?php echo $user['NO_REK']?>"/></td>
            </tr>
        </table>
        <div class="clear"></div>
    </div>
</div>
<div class="clear"></div>
<?php 
echo form_close();
}?>